package uabc.arduino.elementos;

import org.jfree.data.time.TimeSeries;

public class SerieConfiguration implements Cloneable{
	private String ID;
	private String nombre;
	private String sensor;
	private TimeSeries serie;
	private float a;
	private float b;
	private float c;
	
	public Object clone(){
        Object obj=null;
        try{
            obj=super.clone();
        }catch(CloneNotSupportedException ex){
            System.out.println(" no se puede duplicar");
        }
        return obj;
    }
	
	public String getNombre() {
		return nombre;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public String getSensor() {
		return sensor;
	}

	public void setSensor(String sensor) {
		this.sensor = sensor;
	}

	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}
	
	public String toString(){
		return ID+" "+nombre;
	}

	public TimeSeries getSerie() {
		return serie;
	}

	public void setSerie(TimeSeries serie) {
		this.serie = serie;
	}

	public float getA() {
		return a;
	}

	public void setA(float a) {
		this.a = a;
	}

	public float getB() {
		return b;
	}

	public void setB(float b) {
		this.b = b;
	}

	public float getC() {
		return c;
	}

	public void setC(float c) {
		this.c = c;
	}
}
